/**
* Point.h
*/
#ifndef RECT_H
#define RECT_H

#include "Point.h"

class Rect {
	public:
	
		// Initializes Point
		Rect(Point topLeft, Point bottomRight) : topLeftPos(topLeft), bottomRightPos(bottomRight) {
		}
		
		Rect(const Rect& copy) : topLeftPos(copy.topLeftPos), bottomRightPos(copy.bottomRightPos) {
		}
		
		// Point destructor
		~Rect() {
		}
		
		const Point& getTopLeft() const {
			return topLeftPos;
		}
		
		const Point& getBottomRight() const {
			return bottomRightPos;
		}
		
	private:
		Point topLeftPos;
		Point bottomRightPos;
};

#endif
